#!/usr/bin/env python3
# -*- coding=utf-8 -*-
# 题目：斐波那契数列。

def f1():
    n = 10
    fib = [0, 1]
    for x in range(2, n):
        fib.append(fib[x-1]+fib[x-2])
    print(fib)


f = f1
if __name__ == "__main__":
    f()
